package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业主管理对象 owner
 * 
 * @author YuKunXu
 * @date 2024-02-28
 */
public class Owner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业主姓名 */
    @Excel(name = "业主姓名")
    private String name;

    /** 公司名 */
    @Excel(name = "公司名")
    private String company;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 租赁的商铺数量 */
    @Excel(name = "租赁的商铺数量")
    private Integer leasecount;

    /** 拥有的商铺数量 */
    @Excel(name = "拥有的商铺数量")
    private Integer hasecount;

    /** 账号状态 */
    @Excel(name = "账号状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setLeasecount(Integer leasecount) 
    {
        this.leasecount = leasecount;
    }

    public Integer getLeasecount() 
    {
        return leasecount;
    }
    public void setHasecount(Integer hasecount) 
    {
        this.hasecount = hasecount;
    }

    public Integer getHasecount() 
    {
        return hasecount;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("company", getCompany())
            .append("idcard", getIdcard())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("leasecount", getLeasecount())
            .append("hasecount", getHasecount())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
